extern  void * media_threadfun(void *ptr);
